home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / tcp / clients / rcp.lha / rcp / rcp.man < prev    next >
Encoding:
Text File  |  1994-11-10  |  4.4 KB  |  113 lines

  1. NAME
  2.  
  3.     rcp - remote file copy for AmiTCP 2.3b or greater
  4.  
  5.  
  6. SYNOPSIS
  7.  
  8.     setenv RCPSEPARATOR <s>
  9.  
  10.     rcp [-p] filename1 filename2
  11.     rcp [-p] [-r] filename .... directory
  12.  
  13.  
  14. DESCRIPTION
  15.  
  16.     Rcp copies files between machines. Each file or directory argument is
  17.     either a remote file name of the form ``rname@rhost<s>path'', or a
  18.     local file name (containing no `<s>' characters, or a `/' before any
  19.     `<s>'s). <s> is a separator character, and defaults to a bang ('!').
  20.     See below for information on changing the separator.
  21.  
  22.     Note that if the destination path is not fully specified it is
  23.     considered to be relative to the remote user's home directory.  If a
  24.     remote user name is not specified, the user id you logged in as when
  25.     you started AmiTCP is used.
  26.  
  27.     Rcp does not prompt for passwords; it performs remote execution via
  28.     rcmd/rsh, and requires the same authorization. Rcp handles third
  29.     party copies, where neither source nor target files are on the
  30.     current machine.
  31.  
  32.  
  33. OPTIONS
  34.  
  35.     -p  The -p option causes rcp to attempt to preserve (duplicate)
  36.         in its copies the modification times and modes of the source
  37.         files, ignoring the umask. By default, the mode and owner of
  38.         file2 are preserved if it already existed; otherwise the mode of
  39.         the source file modified by the umask on the destination host is
  40.         used.
  41.  
  42.     -r  If any of the source files are directories, rcp copies each
  43.         subtree rooted at that name; in this case the destination must
  44.         be a directory.
  45.  
  46.  
  47. SEPARATOR
  48.  
  49.     In UNIX RCP, <s> is a colon (':') but that is unusable on the Amiga.
  50.     Therefore, in the Amiga version, <s> defaults to a bang ('!'). If
  51.     you desire to change this, setenv the variable RCPSEPARATOR to the
  52.     character you wish to use. For example, the AS225 version of rcp
  53.     uses an equals sign ('=').
  54.  
  55.  
  56. BUGS
  57.  
  58.     Doesn't detect all cases where the target of a copy might be a file
  59.     in cases where only a directory should be legal. Is confused by any
  60.     output generated by commands in a ".login", ".profile", or ".cshrc"
  61.     file on the remote host. .Pp The destination user and hostname may
  62.     have to be specified as ``rhost.rname'' when the destination machine
  63.     is running the 4.2 version of rcp.
  64.  
  65.     Finally, because AmiTCP does not yet have an rsh daemon, Rcp has not
  66.     been tested in client mode (i.e., executing rcp on a UNIX box with
  67.     an Amiga as the destination, or copying from one Amiga to another.)
  68.     When (or if) an rsh daemon is written for AmiTCP, this mode should
  69.     become functional.
  70.  
  71.  
  72. COPYRIGHT
  73.  
  74.     Redistribution and use in source and binary forms, with or without
  75.     modification, are permitted provided that the following conditions
  76.     are met:
  77.  
  78. 1.  Redistributions of source code must retain the above copyright
  79.     notice, this list of conditions and the following disclaimer.
  80.  
  81. 2.  Redistributions in binary form must reproduce the above copyright
  82.     notice, this list of conditions and the following disclaimer in the
  83.     documentation and/or other materials provided with the distribution.
  84.  
  85. 3.  All advertising materials mentioning features or use of this
  86.     software must display the following acknowledgement: This product
  87.     includes software developed by the University of California,
  88.     Berkeley and its contributors.
  89.  
  90. 4.  Neither the name of the University nor the names of its contributors
  91.     may be used to endorse or promote products derived from this
  92.     software without specific prior written permission.
  93.  
  94.     THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
  95.     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  96.     TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  97.     PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
  98.     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  99.     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  100.     LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  101.     USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  102.     ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  103.     OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  104.     OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  105.     SUCH DAMAGE.
  106.  
  107.  
  108. Copyright (c) 1983, 1990, 1993
  109. The Regents of the University of California.  All rights reserved.
  110.  
  111. Ported to the Amiga by Michael Heinz - mheinz@ssw.com
  112.  
  113.